package com.cooper.constants;

/**
 * 用于ResourceManager中的resName常量
 * @Description: <br>
 * @Date: Jan 3, 2014 9:03:56 PM<br>
 * @Copyright (c) 2014 MiXuan <br> * 
 * @since 1.0
 * @author tianlg
 */
public class ResourceConstants {
	
	public static final class ResourceItem{
		
		/** 常量 */
		public static final String CONSTANTS = "CONSTANTS";
		
		/** 默认值 */
		public static final String DEFAULT_VALUE = "DEFAULT_VALUE";
		
		/** 交易状态 */
		public static final String TRADE_STATUS = "TRADE_STATUS";
		
	}
	
	public static final class Status {
    	/** 有效状态 */
        public static final String VALID = "normal";
        /** 无效状态 */
        public static final String INVALID = "invalid";
    }
	
	public static class CharSet {
		public static final String UTF8 = "UTF-8";
		
		public static final String GBK = "GBK";
	}
	
	public static final class Sex {
		public static final String MALE = "male";
		public static final String FEMALE = "female";
		public static final String UNKNOWN = "unknown";
	}
	
	public static final class Button {
		public static final String QUERY = "query";
		public static final String ADD = "add";
		public static final String EDIT = "edit";
		public static final String DELETE = "delete";
	}
	
	public static final class Deleted {
		public static final String YES = "y";
		public static final String NO = "n";
	}
	
	public static final class DefaultValue{
		/** 生日年份 */
		public static final String BIRTH_YEAR = "BIRTH_YEAR";
	}
	
	/** 地址来源 */
	public static final class AddressOrigin{
		/** 商品产地 */
		public static final String ITEM_ORIGIN = "item_origin";
		/** 卖家地址 */
		public static final String SELLER_ADDRESS = "seller_address";
		/** 买家收货地址 */
		public static final String RECEIVE_ADDRESS = "receive_address";
		/** 卖家发货地址 */
		public static final String SEND_ADDRESS = "send_address";
	}
	
	/** 语言 */
	public static final class Lang {
		public static final String EN_US = "en_US";
		public static final String ZH_CN = "zh_CN";
	}
	
	/** 卖家类型 */
	public static final class SellerType {
		public static final String PERSONAL = "PERSONAL";
		public static final String INDEPENDENT_BRAND = "INDEPENDENT_BRAND";
	}
	
	/** 用户类型 */
	public static final class UserType {
		public static final String BUYER = "BUYER";
		public static final String SELLER = "SELLER";
	}
	
	/** 卖家申请单状态类型 */
	public static final class DesignerApplyStatus {
		public static final String AUDIT = "audit";
		public static final String AUDIT_SUCCESS = "audit_success";
		public static final String AUDIT_FAIL = "audit_fail";
	}
	
	/** 点赞的来源 */
	public static final class LikeOrigin {
		public static final String ITEM_LIKE = "ITEM_LIKE";
		public static final String SHOP_LIKE = "SHOP_LIKE";
	}
	
	/** 暂存元素RES_NAME */
	public static final class SavedResName {
		public static final String PRODUCT_DESC = "PRODUCT_DESC";
		public static final String LOGISTICS_DESC = "LOGISTICS_DESC";
	}
	
	public static final class ZooKey {
		public static final String RESOURCE_MANAGER = "resourceManager";
		public static final String KEYGEN = "keygen";
	}
	
	public static final class MessageCategory{
		public static final int SYSTEM_MESSAGE = 1;
		public static final int BUYERS_MESSAGE = 2;
		public static final int SENT_BY_MYSELF = 3;
	}
	
	public static final class PayType{
		public static final String NOT_PAY = "NOT_PAY";
		public static final String ALIPAY = "ALIPAY";
		/**  预存款 */
		public static final String DEPOSIT = "DEPOSIT";
		/** 信用卡 */
		public static final String CREDIT = "CREDIT";
		/** 借记卡 */
		public static final String DEBIT = "DEBIT";
	}
	
	public static final class TradeStatus{
		/** 提交订单 */
		public static final String ORDER_CREATED = "ORDER_CREATED";
		/** 订单已付款 */
		public static final String ORDER_PAYED = "ORDER_PAYED";
		/** 订单发出 */
		public static final String ORDER_CONSIGN = "ORDER_CONSIGN";
		/** 订单完成 */
		public static final String ORDER_COMPLETED = "ORDER_COMPLETED";
		/** 订单作废 */
		public static final String ORDER_CANCEL = "ORDER_CANCEL";
		/** 订单关闭 */
		public static final String ORDER_CLOSE = "ORDER_CLOSE";
	}
	
	public static final class ResourceUsedOrigin {
		public static final String WEB_INVITATION = "WEB_INVITATION";
	}
	
	public static final class FavoriteType {
		public static final String ITEM = "item";
		public static final String SHOP = "shop";
	}
}
